﻿
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_LayoutForEUI.cshtml";
}
<table id="StatArchive_Custom_grid" class="easyui-datagrid" style="width:100%;" title="档案利用统计" data-options="
       rownumbers:true,
       singleSelect:true,
       autoRowHeight:false,
       pagination:false,
       fitColumns:true,
       fit:false,
       striped:true,
       checkOnSelect:false,
       selectOnCheck:false,
       toolbar:'#StatArchive_Custom_tb',
       collapsible:false,
       pageSize: @SGArchiveSystem7x.Models.CCommonsModels.PageSize,
       pageList:[10,15,20]">
    <thead frozen="true">
    </thead>
</table>
<div id="StatArchive_Custom_tb" style="padding:5px 10px;">
    <input class="easyui-datebox" data-options="editable:false" labelwidth="80px" style="width:220px" id="StatBrr_Index_dateS" label="起始日期" labelalign="right" />
    <input class="easyui-datebox"  data-options="editable:false" labelwidth="80px" style="width:220px" id="StatBrr_Index_dateE" label="截止日期" labelalign="right" />
    <a href="javascript:void(0);" class="easyui-linkbutton button-blue" onclick="start()" style="width:110px;height:30px;">统计</a>
</div>
<iframe src="/StatBrr/ViewTongji" id="StatBrr_Index_frm" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>
<script>
    function start() {
        var sd = $('#StatBrr_Index_dateS').datebox('getValue');
        var ed = $('#StatBrr_Index_dateE').datebox('getValue');
        document.getElementById('StatBrr_Index_frm').src = "/StatBrr/ViewTongji?sd=" + sd + '&ed=' + ed;
    } 
</script>